﻿using System;
using System.Collections.Generic;

namespace Model
{
     ///<summary>
     ///实体类GB_SMOKE_STANDAR
     ///</summary>
     public class GB_SMOKE_STANDAR
     {
         private int __ID=0 ;
         private string __QCZZC=string.Empty ;
         private string __CPCX=string.Empty ;
         private string __CLXH=string.Empty ;
         private string __FDJZZC=string.Empty ;
         private string __FDJXH=string.Empty ;
         private string __ZDJGL=string.Empty ;
         private string __XSHZBZ=string.Empty ;
         private string __CGJCBZ=string.Empty ;

         private Dictionary<string, bool> __Changed = new Dictionary<string, bool>();


         public GB_SMOKE_STANDAR()
         {
             this.__Changed.Add("ID",false);
             this.__Changed.Add("QCZZC",false);
             this.__Changed.Add("CPCX",false);
             this.__Changed.Add("CLXH",false);
             this.__Changed.Add("FDJZZC",false);
             this.__Changed.Add("FDJXH",false);
             this.__Changed.Add("ZDJGL",false);
             this.__Changed.Add("XSHZBZ",false);
             this.__Changed.Add("CGJCBZ",false);
         }

         /// <summary>
         /// 将类重置到初始化状态
         /// </summary>
         public void Reset()
         {
             this.__ID =0;
             this.__QCZZC =string.Empty;
             this.__CPCX =string.Empty;
             this.__CLXH =string.Empty;
             this.__FDJZZC =string.Empty;
             this.__FDJXH =string.Empty;
             this.__ZDJGL =string.Empty;
             this.__XSHZBZ =string.Empty;
             this.__CGJCBZ =string.Empty;
             this.__Changed["ID"] = false;
             this.__Changed["QCZZC"] = false;
             this.__Changed["CPCX"] = false;
             this.__Changed["CLXH"] = false;
             this.__Changed["FDJZZC"] = false;
             this.__Changed["FDJXH"] = false;
             this.__Changed["ZDJGL"] = false;
             this.__Changed["XSHZBZ"] = false;
             this.__Changed["CGJCBZ"] = false;
         }

         /// <summary>
         /// 获取类中成员的改变状态
         /// </summary>
         public bool Changed(string strKey)
         {
             return __Changed[strKey];
         }

         /// <summary>
         ///设置或获取类中的[ID]的数据
         /// </summary>
         public int ID
         {
              set{ __ID = value; __Changed["ID"] = true;}
              get{return __ID;}
         }
         /// <summary>
         ///设置或获取类中的[QCZZC]的数据
         /// </summary>
         public string QCZZC
         {
              set{ __QCZZC = value.Replace("'","’"); __Changed["QCZZC"] = true;}
              get{return __QCZZC;}
         }
         /// <summary>
         ///设置或获取类中的[CPCX]的数据
         /// </summary>
         public string CPCX
         {
              set{ __CPCX = value.Replace("'","’"); __Changed["CPCX"] = true;}
              get{return __CPCX;}
         }
         /// <summary>
         ///设置或获取类中的[CLXH]的数据
         /// </summary>
         public string CLXH
         {
              set{ __CLXH = value.Replace("'","’"); __Changed["CLXH"] = true;}
              get{return __CLXH;}
         }
         /// <summary>
         ///设置或获取类中的[FDJZZC]的数据
         /// </summary>
         public string FDJZZC
         {
              set{ __FDJZZC = value.Replace("'","’"); __Changed["FDJZZC"] = true;}
              get{return __FDJZZC;}
         }
         /// <summary>
         ///设置或获取类中的[FDJXH]的数据
         /// </summary>
         public string FDJXH
         {
              set{ __FDJXH = value.Replace("'","’"); __Changed["FDJXH"] = true;}
              get{return __FDJXH;}
         }
         /// <summary>
         ///设置或获取类中的[ZDJGL]的数据
         /// </summary>
         public string ZDJGL
         {
              set{ __ZDJGL = value.Replace("'","’"); __Changed["ZDJGL"] = true;}
              get{return __ZDJGL;}
         }
         /// <summary>
         ///设置或获取类中的[XSHZBZ]的数据
         /// </summary>
         public string XSHZBZ
         {
              set{ __XSHZBZ = value.Replace("'","’"); __Changed["XSHZBZ"] = true;}
              get{return __XSHZBZ;}
         }
         /// <summary>
         ///设置或获取类中的[CGJCBZ]的数据
         /// </summary>
         public string CGJCBZ
         {
              set{ __CGJCBZ = value.Replace("'","’"); __Changed["CGJCBZ"] = true;}
              get{return __CGJCBZ;}
         }
    }
}
